<script src="<%= global.config.cdn %>/jquery/2.2.4/jquery.<%= global.config.mode %>js"></script>
<script src="<%= global.config.cdn %>/fastclick/1.0.6/fastclick.<%= global.config.mode %>js"></script>
<script>
    "use strict";
    $(function() {
        FastClick.attach(document.body);
//        Dolphin.wechatUrl = "gy.rechange.cn";
        Dolphin.wechatUrl = "www.kycozyhome.com";
    });
    const ContextData = {
        contextPath: "<%= global.config.contextPath %>",
        viewPrefix: "<%= global.config.viewPrefix %>",
        queryData: JSON.parse('<%= JSON.stringify(queryData); %>'.replace(/&#34;/g, '"') || "{}"),
        userData: JSON.parse('<%= session && JSON.stringify(session.userData); %>'.replace(/&#34;/g, '"') || "{}")
    };
</script>
<script src="<%= global.config.cdn %>/jquery-weui/0.8.2/js/jquery-weui.<%= global.config.mode %>js"></script>

<!-- 如果使用了某些拓展插件还需要额外的JS -->
<!--<script src="<%= global.config.cdn %>/jquery-weui/0.8.2/js/swiper.<%= global.config.mode %>js"></script>-->
<script src="<%= global.config.cdn %>/jquery-weui/0.8.2/js/city-picker.<%= global.config.mode %>js"></script>
<script src="<%= global.config.publicPath %>/page/js/dolphin.core.js?_token=<%= new Date().getTime() %>"></script>
<script>
    const CTX='<%= global.config.contextPath == '/' ? '' : global.config.contextPath %>';
</script>
